home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / raytrace / rayslide / rayslide.lha / ray-slides / Makefile < prev    next >
Encoding:
Makefile  |  1992-09-16  |  1.5 KB  |  60 lines

  1. # Makefile for Rayshade slides
  2. #
  3. #    Mark Maimone (mwm@cmu.edu)     13 September 1992
  4. #
  5.  
  6. FILES = ps/ap1.PS ps/ap2.PS ps/bigpac.PS ps/camera.Ps ps/depth.PS \
  7.     ps/depthcolor.PS ps/diff.PS ps/front.PS ps/left.PS ps/mancyl.PS \
  8.     ps/right.PS ps/sphere.PS
  9.  
  10. all: ray/depth.ps ps ps/depth.PS urt.ps ray.ps page18.ps page19.ps page20.ps
  11.  
  12. ray/depth.ps:
  13.     @echo I think you forgot to build the image files.
  14.     @echo "Please    cd ray    and build those files first."
  15.     false
  16.  
  17. ps:
  18.     @echo "I think you need to choose between greyscale and color"
  19.     @echo "images.  Please pick one and then:"
  20.     @echo ""
  21.     @echo "    ln -s bw ps"
  22.     @echo " or ln -s color ps"
  23.     @echo ""
  24.     @echo "Please send the README file for more details....."
  25.     false
  26.  
  27. ps/depth.PS:
  28.     @echo "I think you need to build the PostScript versions of the"
  29.     @echo "images.  Please    cd ps    and build the files there."
  30.     false
  31.  
  32. ray.dvi: ray.tex psfigure.tex
  33.  
  34. %.dvi: %.tex
  35.     latex %.tex
  36.     cp %.aux %.aux.old
  37.  
  38. %.ps: %.dvi
  39.     dvips -t landscape < %.dvi > %.ps
  40.  
  41. ray.ps: ray.dvi $(FILES)
  42.     dvips -t landscape < ray.dvi > ray.ps
  43. #
  44. #    Make pages of rayshade input files
  45. #
  46.  
  47. page18.ps: ray/balls.ray
  48.     enscript -fCourier-Bold15 -FCourier15 -b"1992 VASC Retreat (mwm)        18" -ppage18.ps ray/balls.ray
  49.  
  50. page19.ps: ray/pac.ray
  51.     enscript -fCourier-Bold15 -FCourier15 -b"1992 VASC Retreat (mwm)        19" -ppage19.ps ray/pac.ray
  52.  
  53. page20.ps: ray/pacbw.ray
  54.     enscript -fCourier-Bold15 -FCourier15 -b"1992 VASC Retreat (mwm)        20" -ppage20.ps ray/pacbw.ray
  55.  
  56.  
  57.  
  58. clean:
  59.     rm -f page*ps *.dvi ray.ps urt.ps *.aux *.log *.old *.CKP *.BAK
  60.